package com.gxa.insurance.mapper;

import com.gxa.insurance.pojo.Coupon;
import com.gxa.insurance.pojo.Customer;
import com.gxa.insurance.pojo.Exchange;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lijunlin
 * @date 2022/6/7
 */
public interface ExchangeMapper {
    void addExchange(Exchange exchange);
    List<Map<String,Object>> selectByPage(@Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize);
    void updateExchange(Exchange exchange);
    Exchange selectById(Integer integer);
    void deleteExchange(Integer integer);
    Integer selectAll();

}
